<script type="text/javascript">
    $(function(){
        $("#bqckck").datagrid({
            url:encodeURI(encodeURI('${base}/tjbb/ywsfcbb/bqckcklist?gsid=${(gsid)!}&ck_id=${(ck_id)!}&wz_type=${(wz_type)!}&pz=${(pz)!}&select_type=${(select_type)!}&begindate=${(begindate?date)!}&enddt=${(enddt?date)!}'))
        })
    })
</script>
<div style="width:100%;height:100%;">
    <div id="bqckck_toolbar">
    <#--    <div class="textcon">
            <table class="tb">

            </table>
        </div>-->
    </div>
    <table id="bqckck" class="easyui-datagrid" data-options="
       <#--// url:'${base}/tjbb/ywsfcbb/bqckcklist',-->
  <#-- url:'${base}/tjbb/ywsfcbb/bqckcklist?gsid=${(gsid)!}&ck_id=${(ck_id)!}&wz_type=${(wz_type)!}&pz=${(pz)!}&select_type=${(select_type)!}&begindate=${(begindate?date)!}&enddt=${(enddt?date)!}',-->
        fit:true,
        <#--pagination:true,-->
        rownumbers: true,
        singleSelect:true,
        showFooter:true,
        fitColumns:true,
        pageNumber: 1,
        toolbar:'#bqckck_toolbar'
">
        <thead>
        <tr>
            <th data-options="field:'GS_NAME',width:71,align:'center'">公司名称</th>
            <th data-options="field:'CKSJ',width:88,align:'center'">出库时间</th>
            <th data-options="field:'XSDH',width:115,align:'center'">销售单号</th>
            <th data-options="field:'SFTZD',width:62,align:'center'">是否调整单</th>
            <th data-options="field:'KH_NAME',width:71,align: 'center'">客户</th>
            <th data-options="field:'CODE',width:92,align:'center'">物资编码</th>
        <#--  <th data-options="field:'OLDCODE',width:89,align: 'center'">老物资编码</th>-->
            <th data-options="field:'WZ_NAME',width:46,align: 'center'">物资名称</th>
            <th data-options="field:'GGXH',width:46,align: 'center'">规格型号</th>
            <th data-options="field:'TH',width:40,align: 'center'">图号</th>
            <th data-options="field:'CKSL',width:97,formatter:formatSlForHtml,align: 'right'">出库数量</th>
            <th data-options="field:'BHSJ',width:84,formatter:formatSlForHtml,align: 'right'">单价</th>
            <th data-options="field:'JE',width:103,formatter:formatSlForHtml,align: 'right'">金额</th>
            <th data-options="field:'CK_NAME',width:47,align: 'center'">仓库</th>

        </tr>
        </thead>
    </table>
</div>